package com.atguigu.gmall.search.repository;

import com.atguigu.gmall.search.Goods;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author:lyd
 * @Date:2023/8/25 18:50
 * @Version:1.0
 * @Description
 *  CrudRepository: 可以实现简单的增删改查
 *  PagingAndSortingRepository：除了简单的 增删改查外，还可以实现分页功能
 **/
@Repository
public interface GoodsRepository extends PagingAndSortingRepository<Goods, Long> {

}
